package com.ychen.commons.entity.message;

import com.ychen.commons.entity.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Id;

@Data
public class MessageEntity extends BaseEntity {

    @Id
    private Long  messageId;
    private String messageBody;
    /**
     * 状态
     */
    private Integer state;
    private Long fromUserId;
    private Long  toUserId;

}
